<%-- 
    Document   : TerimaBarang
    Created on : Dec 9, 2013, 11:27:49 PM
    Author     : Satellite
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body><script>
        function displayResult()
        {

        }
        </script>  <h4 align="right" class="header"><strong>Selamat Datang, <%= session.getAttribute("user")%>
                <br>  <a href="FormLogin.jsp" >Logout</a>
            </strong></h4> <br>
                <h4 align="center"> <a href='HalamanUtama.jsp'>Halaman Utama</a></h4><br>
        <form action="kontrolUpdate">
            <table>
                <tr><td><b><font size ='5' color='FF0000' face= 'Papyrus'><b><i>  Data Barang </i>  </b></font></td><td></td><td></td><td></td><td><b><font size ='5' color='FF0000' face= 'Papyrus'><b><i>  Identitas Pengirim  </i></b></font></td>
                </tr>
                <tr><td>Tanggal Terima </td><td>:</td>
                    <td><select name="tanggal2">
                            <% for (int i = 1; i <= 31; i++) {%>
                            <option value="<%=i%>" > <%=i%></option>
                            <%}%></select>

                        <select name="bulan2">
                            <option value="JAN">January</option>
                            <option value="FEB">February</option>
                            <option value="MAR">March</option>
                            <option value="APR">April</option>
                            <option value="MAY">May</option>
                            <option value="JUN">June</option>
                            <option value="JUL">July</option>
                            <option value="AUG">August</option>
                            <option value="SEP">September</option>
                            <option value="OCT">October</option>
                            <option value="NOV">November</option>
                            <option value="DEC">December</option>
                        </select>

                        <select name="tahun2">
                            <% for (int i = 1999; i <= 2020; i++) {%>
                            <option value="<%=i%>"> <%=i%></option>

                            <%}%></select>

                            <input type="hidden" name="kotaAsal2" value="<%=request.getAttribute("asal")%>"/>
                            
                    </td><td></td><td>Nama</td><td>:</td><td><%=request.getAttribute("namaPengirim")%> </td></tr>
                <tr><td>Kode Resi</td><td>:</td><td><input type="text" name="koderesi2" value="<%=request.getAttribute("koderesi")%>"/></td><td></td>
                    <td>Alamat</td><td>:</td><td><%=request.getAttribute("alamatPengirim")%></td></tr>
                <tr><td>Nama Barang</td><td>:</td><td><%=request.getAttribute("namabarang")%></td><td></td>
                    <td>No.Telp/HP</td><td>:</td><td><%=request.getAttribute("tlpPengirim")%></td></tr>
                <tr><td>Jenis Barang</td><td>:</td><td><%=request.getAttribute("jenisbarang")%></td><td></td>
                    <td><b><font size ='5' color='FF0000' face= 'Papyrus'><b><i>  Identitas Penerima  </i></b></font></td></tr>
                <tr><td>Agen Tujuan</td><td>:</td><td><%=request.getAttribute("tujuan")%></td> <td></td>
                    <td>Nama</td><td>:</td><td><%=request.getAttribute("namaPenerima")%></td></tr>
                <tr><td>Agen Asal</td><td>:</td><td><%=request.getAttribute("asal")%></td><td></td>
                    <td>Alamat</td><td>:</td><td><%=request.getAttribute("alamatPenerima")%></td></tr>
                <tr><td>Tarif/kg</td><td>:</td><td><%=request.getAttribute("tarif")%></td><td></td>
                    <td>No.Telp/HP</td><td>:</td><td><%=request.getAttribute("tlpPenerima")%></td></tr>
                <tr> <td>Berat Barang</td><td>:</td><td><%=request.getAttribute("berat")%></td></tr>
                <tr><td>Harga</td><td>:</td><td><%=request.getAttribute("harga")%> </td></tr>
                <tr><td>Keterangan</td><td>:</td><td><%=request.getAttribute("keterangan")%></td></tr>
                <tr><td>Tanggal Kirim</td><td>:</td><td><%=request.getAttribute("tanggalkirim")%></td></tr>
                <tr><td></td><td></td><td></td><td> <td> <input  type="submit" value="Terima">   <input type="reset" value="Batal"></td> </tr>
            </table>

        </form>
    </body>
</html>
